﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchUserControl.ascx.vb"
    Inherits="WebForm_SearchUserControl" %>
<asp:Panel ID="panel1" runat="server" BackColor="white" BorderWidth="1" SkinID="DragPanel"
    Width="500">
    <br />
    <div align="center">
        <asp:Label ID="lblForm" runat="server" meta:resourcekey="Page" SkinID="title"></asp:Label>
    </div>
    <br />
    <table>
        <tr>
            <td>
                <table>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblOrganization" runat="server" meta:resourcekey="lblOrganization"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="ddlOrganization" runat="server" AutoPostBack="false">
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            <asp:Label ID="lblUserID" runat="server" meta:resourcekey="lblUserID"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtUserID" runat="server"></asp:TextBox>
                        </td>

                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblUserType" runat="server" meta:resourcekey="lblUserType"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="ddlUserType" runat="server" AutoPostBack="false">
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            <asp:Label ID="lblUserName" runat="server" meta:resourcekey="lblUserName"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                        </td>
                        <td align="left">
                            <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
                        </td>
                    </tr>
                </table>
    </td> </tr>
    <tr>
        <td>
            <asp:GridView ID="gv" runat="server" SkinID="pager" DataKeyNames="UserID" meta:resourcekey="gv" AllowPaging="true">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <asp:CheckBox ID="chkUserID" runat="server"></asp:CheckBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="UserID" meta:resourcekey="bfUserID" />
                    <asp:BoundField DataField="UserName" meta:resourcekey="bfUserName" />
                </Columns>
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Button ID="btnOK" runat="server" meta:resourcekey="btnOK" />
            <asp:Button ID="btnCancel" runat="server" meta:resourcekey="btnCancel" />
        </td>
    </tr>
    </table>
    <br />
</asp:Panel>
<asp:Button ID="btnDummy" runat="server" Style="display: none" SkinID="null" />
<ajaxToolkit:ModalPopupExtender ID="mpSearch" runat="server" TargetControlID="btnDummy"
    PopupControlID="panel1" OkControlID="btnCancel" PopupDragHandleControlID="panel1" />
